home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 15454 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: news.netins.net!trg1
  2. From: hhowe@trgnet.com (Harold Howe)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Is this a memory leak?
  5. Date: Fri, 05 Apr 96 15:28:03 GMT
  6. Organization: Technology Resource Group
  7. Message-ID: <4k3hfn$8p6@insosf1.netins.net>
  8. References: <4jv214$gv7@insosf1.netins.net> <4k0c2i$h6e@werple.net.au>
  9. NNTP-Posting-Host: desm-21-10.dialup.netins.net
  10. X-Newsreader: News Xpress Version 1.0 Beta #3
  11.  
  12. In article <4k0c2i$h6e@werple.net.au>,
  13.    davidw@werple.net.au (David White) wrote:
  14.  
  15. >The BuriedClass object is not deleted. Zeroing the pointer does nothing
  16. >but zero the pointer, which prevents the BuriedClass object from being
  17. >deleted. Maybe 'shutDown' is intended to be called if responsibility for
  18. >the BuriedClass object is moved to something else, which will delete it,
  19. >or maybe it's a safety measure, to be used if some sort of free store
  20. >corruption is detected. 
  21. >
  22. >David White
  23. >davidw@werple.mira.net.au
  24.  
  25. I think that in my case, someone else does indeed do the actual deleting of 
  26. the memory.  After searching through the library, it appears that other 
  27. pointers are still pointing to the memory and they are the ones that actually 
  28. get deleted.  Thanks for the tip,
  29.  
  30. Harold Howe
  31. hhowe@trgnet.com
  32.